﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using GalaSoft.MvvmLight;

namespace PCManagerReloaded.ViewModel
{
    public class FileItemViewModel : ViewModelBase
    {
        private string _fileName;
        private bool _isSelected;
        private string _path;
        private DateTime _creation;

        public string FileName
        {
            get { return _fileName; }
            set
            {
                _fileName = value;
                RaisePropertyChanged(()=>FileName);
            }
        }

        public bool IsSelected
        {
            get { return _isSelected; }
            set
            {
                _isSelected = value;
                RaisePropertyChanged(()=>IsSelected);
            }
        }

        public string Path
        {
            get { return _path; }
            set
            {
                _path = value;
                RaisePropertyChanged(()=>Path);
            }
        }

        public DateTime Creation
        {
            get { return _creation; }
            set
            {
                _creation = value;
                RaisePropertyChanged(()=>Creation);
            }
        }
    }
}
